const fp = require('lodash/fp');

let isLastInStock = fp.flowRight(
    fp.prop('in_stock'),
    fp.last
);
